package gate

import (
	. "leaf/core/error"
	. "leaf/core/msg"
)

func Register(requestMsg interface{}, replyMsg interface{}, handler func(agent Agent, msg *PMsg) *Error, opts ...int32) {
	Processor.Register(requestMsg, replyMsg, handler, opts...)
}
